package array;

public class SingleNumber136 {
    public int singleNumber(int[] nums) {
        int x = 0;
        for (int n: nums) {
            x ^= n;
        }
        return x;
    }
}
